/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


class Inventory {

   private String name = "";
   private int    inventoryid = 0;
   private int quantity=0;
   private int price=0;


   public Inventory() {
   }


   public String getName() {
      return name;
   }


   public void setName(String newName) {
      name = newName;
   }


   public int getInventoryid() {
      return inventoryid;
   }


   public void setInventoryid(int inventoryid) {
      this.inventoryid = inventoryid;
   }


	public int getQuantity() {
      return quantity;
   }

   public void setQuantity(int quantity) {
      this.quantity = quantity;
   }

	public int getPrice() {
      return price;
   }


   public void setPrice(int price) {
      this.price = price;
   }



   public String toString() {
      return getName() + ":" + getInventoryid()+":"+getQuantity()+":"+getPrice();
   }
}
